package com.gl.saasservice.approvalprocess.entity;

import com.gl.saasservice.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 审批流程节点明细表
 */
@Entity
@Table(name = "saas_approval_process_node")
public class ApprovalProcessNode  extends IdEntity {
    /*
     *流程id
     */
    @Column(name = "approval_process_id", nullable = true)
    private Long approvalProcessId;
    /*
     *初始节点企业机构id
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     *流程节点集
     */
    @Column(name = "current_approval_process", nullable = true)
    private String currentApprovalProcess;
    /*
     *流程节点字符串集
     */
    @Column(name = "process_org_name", nullable = true)
    private String processOrgName;
    /*
     *审批状态(0停用 1启用)
     */
    @Column(name = "status", nullable = true)
    private Integer status;
    /*
     *最后更新时间
     */
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Long getApprovalProcessId() {
        return approvalProcessId;
    }

    public void setApprovalProcessId(Long approvalProcessId) {
        this.approvalProcessId = approvalProcessId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getCurrentApprovalProcess() {
        return currentApprovalProcess;
    }

    public void setCurrentApprovalProcess(String currentApprovalProcess) {
        this.currentApprovalProcess = currentApprovalProcess;
    }

    public String getProcessOrgName() {
        return processOrgName;
    }

    public void setProcessOrgName(String processOrgName) {
        this.processOrgName = processOrgName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
